//
//  NSCalendar+JXCoveniences.h
//  TestCollectionView
//
//  Created by Lemon on 2019/4/20.
//  Copyright © 2019 sunshinfight@163.com. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSCalendar (JXCoveniences)
+ (int32_t)dayWithDate: (NSDate*)date;

+ (int32_t)realWeekdayWithDate: (NSDate*)date;

+ (int32_t)weekdayWithDate: (NSDate*)date;

+ (int32_t)monthWithDate: (NSDate*)date;

+ (int32_t)daysInMonthWithDate: (NSDate*)date;

+ (int32_t)yearWithDate: (NSDate*)date;
@end

NS_ASSUME_NONNULL_END
